<template>
  <div class="pic">
    <RouterLink to="/home/sketch">返回</RouterLink>
    {{ route.params }}
  </div>
</template>
<script setup lang="ts">
import { useRoute, useRouter } from 'vue-router'
const route = useRoute()
const router = useRouter()

console.log('router', route)
</script>
<style lang="scss">
.pic {
  height: calc(100vh - 257px);
  padding: 20px;
  background-color: #f5f5f5;
}
</style>
